<com:TPanel CssClass="login" DefaultButton="LoginButton">

<div class="Login_Area">
<table>
  <tr> 
    <td> 

	<h4>Seguridad del sistema</h4>
	<br>
	<br>
	<com:TLabel
		ForControl="Username" 
		Text="Usuario" 
		CssClass="Label_Datos"/>
	<com:TTextBox ID="Username" 
		AccessKey="u" 
		ValidationGroup="login"
		CssClass="TextBox_Texto"/>
	<com:TRequiredFieldValidator 
		ControlToValidate="Username" 
		ValidationGroup="login"
		Display="Dynamic"
		ErrorMessage="Ingrese nombre de usuario"/>

	<br>

	<com:TLabel
		ForControl="Password" 
		Text="Password" 
		CssClass="Label_Datos"/>
	<com:TTextBox ID="Password" 
		AccessKey="p" 
		CssClass="TextBox_Texto"
		ValidationGroup="login"
		TextMode="Password"/>
	<com:TCustomValidator
		ControlToValidate="Password"
		ValidationGroup="login"
		Text="...invalid"
		Display="Dynamic"
		OnServerValidate="validateUser" />
		<br>
  <com:TLiteral 
    ID="Result" />		
  <com:TKeyboard 
    ForControl="Password" 
    AutoHide="true"/>		

  <br>
  <div>
  	<com:TActiveLabel ID="Validador" CssClass="Resultado"/>
  </div>
  <br>


  <com:TButton 
    ID= "LoginButton" 
    Text="Ingresar" 
    OnClick="loginButtonClicked"
		ValidationGroup="login"     
    CssClass="TButton">
  <!---
     <prop:ClientSide.OnLoading>
       $('<%= $this->Validador->ClientID %>').innerHTML = "Un Momento por favor... Grabando"
     </prop:ClientSide.OnLoading>
  --->
  </com:TButton>
  <!---
	<com:TImageButton ID="LoginButton"
		OnClick="loginButtonClicked"
		ImageUrl="<%=$this->Page->Theme->BaseUrl.'/button-login.gif'%>"
		ValidationGroup="login"
		CssClass="button"/>
  --->
</td>
<td> 
  <img src="<%=$this->Page->Theme->BaseUrl.'/login.jpg'%>" class="Candado_logo"/>
</td>
</tr>
</table>		
  		
</div>
</com:TPanel>

